home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / os2tools / aping / aping.dos < prev    next >
Encoding:
Text File  |  1992-05-20  |  1.8 KB  |  57 lines

  1.  
  2. #
  3. #  This makefile is intended for use for the Microsoft C Compiler,
  4. #  version 6.0.
  5. #
  6. #  You should have previously set LIB and INCLUDE environment variables
  7. #  referencing your C compiler subdirectories.  Consult your compiler
  8. #  documentation for instructions on defining these variables.
  9. #
  10. #  You must modify your LIB and INCLUDE environment variables to reference
  11. #  the directory containing the Networking Services/DOS library files.
  12. #  For example:
  13. #  SET LIB=C:\NSD\LIB;%LIB%
  14. #  SET INCLUDE=C:\NSD\INCLUDE;%INCLUDE%
  15. #
  16. #  Compiler Switches:
  17. #   -c  = Compile only, no link
  18. #   -AL = Using the Large memory model.
  19. #   -Lc = create a DOS mode executable file
  20. #   -F  = Stacksize in bytes
  21. #   -Gs = Remove stack probes - Use only on fully debugged program.
  22. #   -Ox = Maximum optimization
  23. #   -Zl = Suppress default library selection.
  24. #   -Zp = Pack structure members - OS/2 API calls expect packed structures.
  25. #   -Ze = Enable special keywords.
  26. #   -W4 = Maximum warning level
  27.  
  28.  
  29. C_OPTIONS =  -Lc -F 2000 -AL -Gs -Ox -W4 -Zelp -DDOS
  30. LIBLIST = cpicnsdr.lib  cpicerr.OBJ cpicinit.OBJ getopt.obj cpicport.obj
  31. C_ONLY_OPTIONS = -c -Lc -AL -Gs -Ox -W4 -Zelp -DDOS
  32.  
  33. MAP = nul
  34. LINK_OPTIONS = /EXEPACK
  35.  
  36. aping: aping.exe apingd.exe
  37.  
  38. aping.EXE: aping.dos aping.C  \
  39.             cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj cpicerr.h cpicinit.h cpicport.h
  40.             CL $(C_OPTIONS) $*.C $(LIBLIST)
  41.  
  42. apingd.EXE: aping.dos apingd.C cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj
  43.         CL $(C_OPTIONS) $*.C $(LIBLIST)
  44.  
  45. cpicerr.OBJ: aping.dos cpicerr.C cpicerr.h
  46.         CL $(C_ONLY_OPTIONS) $*.C
  47.  
  48. cpicinit.OBJ: aping.dos cpicinit.C cpicinit.h
  49.         CL $(C_ONLY_OPTIONS) $*.C
  50.  
  51. cpicport.OBJ: aping.dos cpicport.C cpicport.h
  52.         CL $(C_ONLY_OPTIONS) $*.C
  53.  
  54. getopt.OBJ: aping.dos getopt.C getopt.h
  55.         CL $(C_ONLY_OPTIONS) $*.C
  56.  
  57.